/**
 * Copyright 2013 ABSir's Studio
 * 
 * All right reserved
 *
 * Create on 2013-12-12 下午5:38:07
 */
package com.absir.server.socket;

import java.io.Serializable;
import java.nio.channels.SocketChannel;

/**
 * @author absir
 * 
 */
public class SocketChannelContext {

	/** id */
	private Serializable id;

	/** socketChannel */
	private SocketChannel socketChannel;

	/** attachData */
	private Object attachData;

	/**
	 * @return the id
	 */
	public Serializable getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	protected void setId(Serializable id) {
		this.id = id;
	}

	/**
	 * @return the socketChannel
	 */
	public SocketChannel getSocketChannel() {
		return socketChannel;
	}

	/**
	 * @param socketChannel
	 *            the socketChannel to set
	 */
	public void setSocketChannel(SocketChannel socketChannel) {
		this.socketChannel = socketChannel;
	}

	/**
	 * @return the attachData
	 */
	public Object getAttachData() {
		return attachData;
	}

	/**
	 * @param attachData
	 *            the attachData to set
	 */
	public void setAttachData(Object attachData) {
		this.attachData = attachData;
	}
}
